// 根目录的static下创建js文件夹并创建mixin.js文件
export const mixin = {
    onShareAppMessage: function() {
    	uni.showShareMenu({
    		withShareTicket: true,
    		menus: ['shareAppMessage', 'shareTimeline']
    	})
    },
    onShareTimeline(res) {
    	return {
    		title: '',
    		type: 0,
    		query: 0,
    		summary: "",
    		imageUrl: ""
    	}
    }
}